Tomcat over PG (v8 17/03/2019)
Persian Gulf adaptation of DCE by Marc "MBot" Marbot 
By Hisothiro, based on the work of PB0_CEF and Miguel21.

Specification for starting mission on the CVN Stennis deck : don't ask for taxi : 2 F-14 on deck or a 4 F-14 mission : when you are ready, move quickly to the rear of the CV deck before wingmen move. After that let them move to their launch place then you can can move to the right front catapult  
4 FA-18C on the deck but only a 2 FA-18C mission : Move to the left front catapult directly, Number 2 will use the left back catapult... 

IMPORTANT NOTE : You will need US Navy Deck Equipment Mod that you will find here : https://www.digitalcombatsimulator.com/en/files/3301580/?sphrase_id=14748274


Options :
 
For the new DCS WORLD openbeta 2.5 ! The French squadron is 1/12 "Cambresis" : use the beautiful RafaleTiger's skin pack that you can get here : "https://www.digitalcombatsimulator.com/en/files/3097810/". 
To have the Iranian Su-24M skin use the beautiful Algherghezghez skin that you can get here : "https://www.digitalcombatsimulator.com/en/files/3300731/"
To have the Iranian F-4E skin use the beautiful Sadjad_vosoul skins that you can get here : "https://www.digitalcombatsimulator.com/en/files/3301808/"
To have the Iranian F-14A skin use the beautiful Sadjad_vosoul skins that you can get here : "https://www.digitalcombatsimulator.com/en/files/3301691/"
To have a more adapted Viggen skin use the beautiful Automan skin that you can get here :
"https://www.digitalcombatsimulator.com/en/files/3104715/"


(Put them in Users/Name/saved games/Dcs.OpenBeta/Liveries/M-2000C, AJS-37, f-4e, f-14a and Su-24M folders to create if you don't have them yet)

You need to use OvGME (https://forums.eagle.ru/showpost.php?p=3594613&postcount=29) or JSGME (https://forums.eagle.ru/showthread.php?t=98607). The "DCE_Missionscript_mod" folder provided will also modify MissionScripting.lua file in  "DCS World OpenBeta\Scripts\", preventing you to make this modification manually after each update :

Not needed anymore with OvGME or JSGME Mods Folder  !!! ============    Open the file "DCS World OpenBeta\Scripts\MissionScripting.lua". Add two minus signs in front of line 16 "sanitizeModule('os')" and line 17 "sanitizeModule('io')". The code block from line 16 to line 20 should then look like this:

--sanitizeModule('os')
--sanitizeModule('io')
sanitizeModule('lfs')
require = nil
loadlib = nil

This modification has to be repeated after each update of DCS World, as each update reverts the file back to its original state.

WARNING: This modification will allow the execution of LUA code included in any downloaded custom mission that is potentially harmful to your system. Modification at your own risk.    ====== Not needed anymore with OvGME or JSGME Mods Folder !!! 


Installation:
-------------
1. Extract the folder "EN" in the zip file to: "DCS World OpenBeta\Mods\aircraft\F-14\Missions". Ensure that the resulting folder structure is “...\F-14\Missions\EN\Campaigns\Tomcat over PG\...”.

2. Extract the "DCE_Missionscript_mod" folder in your Mods OvGME or JSGME folder then activate this mod.  



How to play:
------------
1. To start a new campaign, select CAMPAIGN from the DCS main menu. Select the campaign under the module “F-14” and press OK.

2. To restart a new campaign, likewise select RESTART.

3. After completing a mission, a txt file will open automatically in Windows Notepad, providing a debriefing. If you are done reading, close the text window manually.

4. Simultaneously a command window will open, asking you whether you would like to accept the current mission results. If you are happy with the mission results, press “y” and ENTER. The next campaign mission will then be generated. If you are unhappy with the mission results, press “n” and ENTER. No new mission will be generated and you may fly the current mission again.


Special Functions:
------------------
This campaign is fully playable from within the DCS GUI with no further user action required. It however offers two additional functions through BAT files located in the folder “DCS World OpenBeta\Mods\aircraft\FA-18C\Missions\EN\Campaigns\Tomcat over PG”.

1. FirstMission.bat: In order to integrate this dynamic campaign with the DCS GUI, the first campaign mission has to be static. This means that each time you start a new campaign, the first mission will always be the same. If you would like to change the first mission to something new, use this BAT file to generate a different one. This BAT file will also reset any campaign progress you may have back to zero.

2. SkipMission.bat: If you are unhappy with the current (not first) campaign mission, use this BAT file to skip it and generate a new one.


COOP Multiplayer:
-----------------
1. This campaign is playable in multiplayer for up to 4 players.

2. To start a new coop campaign, execute “FirstMission.bat” under “DCS World OpenBeta\Mods\aircraft\F-14\Missions\EN\Campaigns\Tomcat over PG”, enter the amount of players and press ENTER.

3. Host the mission “Tomcat over PG_first.miz” (if it is the first mission of the campaign) or “Tomcat over PG_ongoing.miz” found in the folder "DCS World OpenBeta\Mods\aircraft\F-14\Missions\EN\Campaigns" like any other multiplayer mission.

4. In order to end a mission, review the debriefing and automatically generate the next campaign mission, close your server. Hosts are advised to end missions after completing the assigned sortie. The campaign is not designed for rearming your aircraft and returning to the combat zone, as enemy activity is only set up for the planned duration of one sortie and a little extra. Closing the server and hosting the next generated mission will provide you with a fully set up new mission with all stats carried over.

5. If you would like to play a mission of your current singeplayer campaign in coop, open the mission “Tomcat over PG_ongoing.miz”in the Mission Editor and manually change the skill of the aircraft in your flight to “client”. Then host the mission in multiplayer. Subsequent missions will again be for one player only.

6. If you would like to change the number of  players for all missions following you current mission, open the file “camp_status.lua” in the folder “DCS World OpenBeta\Mods\aircraft\F-14\Missions\EN\Campaigns\Tomcat over PG\Status”. Search the variable “coop” and change it to the required number of players (1 to 4). This will affect all subsequently generated missions but not your current mission (see 5. for this).

7. Playing in coop might cause problems with automatic mission generation, as sufficient campaign assets to satisfy a 4 player requirement may not always be available. 2 player coop will generally be less problematic.

8. There is a known issue with radio channels in Coop : only the first human aircraft radios channels are the good ones (briefing). One possibility for the host is to open the mission to be played (“Tomcat over PG_first.miz” or “Tomcat over PG_ongoing.miz”) in Mission Editor and to copy/past the first human channels (1 to 4 UHF) in the others human players channels.You can use the V/UHF radio to manually use the good channel. (In solo flight you can have both radios on separate channels to listen both AWACS and Flight coms. 



FAQ:
----
Q: Why are my FPS so low?
A: Due to its very nature, this dynamic campaign includes many aircraft and ground units. Lower graphics settings than usual might be required to play it smoothly. With reduced graphics settings, missions should be easily playable on medium systems.

Q: Why do missions take so long to generate?
A: This is due to a large amount of calculations to find the optimal route for every possible sortie, even if only a few of these sorties will ultimately be part of the missions. Sorties are selected based among other factors on their danger level, for whose evaluation the optimal route must be known. Expect to wait half a minute for a new mission to be generated.


Q: Why are there no loadouts with cluster bombs?
A: The AI has issues with employing cluster bombs. If you would like to use them on your aircraft, reload them after spawning on the airbase.

Q: Why do AGM-45 Shrike ARM sometimes disappear mid-air?
A: In 7 out of 10 ARM missile shots, a script will force the targeted ground unit to shut down its radar for several minutes, to avoid the incoming missile. In such cases the ARM is removed from the game to prevent it from striking the silenced radar none the less.
